﻿@using XStudio.XCRF.Data.Entities.CureInfo
@model CureInfo
<table>
    <tr>
        <th>浮脉类：</th>
        <td>@Html.FloatingPulseClassEditorFor(model => model.FloatingPulseClass)</td>
        <td>
        @{if ((byte)Model.FloatingPulseClass == 6)
          { 
              <input id = "FloatingPulseClassOther" name = "FloatingPulseClassOther" type="text" value="@(Model.FloatingPulseClassOther)" />
          }
          else
          {
              <input id = "FloatingPulseClassOther" name = "FloatingPulseClassOther" type="text" style = "display:none;" value="@(Model.FloatingPulseClassOther)" />
          }
          }
        </td>
    </tr>
    <tr>
        <th>沉脉类：</th>
        <td>@Html.DeepPulseClassEditorFor(model => model.DeepPulseClass)</td>
        <td>
        @{if ((byte)Model.DeepPulseClass == 4)
          { 
              <input id = "DeepPulseClassOther" name = "DeepPulseClassOther" type="text" value="@(Model.DeepPulseClassOther)" />
          }
          else
          {
              <input id = "DeepPulseClassOther" name = "DeepPulseClassOther" type="text" style = "display:none;" value="@(Model.DeepPulseClassOther)" />
          }
          }
        </td>
    </tr>
    <tr>
        <th>迟脉类：</th>
        <td>@Html.SlowPulseClassEditorFor(model => model.SlowPulseClass)</td>
        <td>
        @{if ((byte)Model.SlowPulseClass == 4)
          { 
              <input id = "SlowPulseClassOther" name = "SlowPulseClassOther" type="text" value="@(Model.SlowPulseClassOther)" />
          }
          else
          {
              <input id = "SlowPulseClassOther" name = "SlowPulseClassOther" type="text" style = "display:none;" value="@(Model.SlowPulseClassOther)" />
          }
          }
        </td>
    </tr>
    <tr>
        <th>数脉类：</th>
        <td>@Html.RapidPulseClassEditorFor(model => model.RapidPulseClass)</td>
        <td>
        @{if ((byte)Model.RapidPulseClass == 4)
          { 
              <input id = "RapidPulseClassOther" name = "RapidPulseClassOther" type="text" value="@(Model.RapidPulseClassOther)" />
          }
          else
          {
              <input id = "RapidPulseClassOther" name = "RapidPulseClassOther" type="text" style = "display:none;" value="@(Model.RapidPulseClassOther)" />
          }
          }
        </td>
    </tr>
    <tr>
        <th>虚脉类：</th>
        <td>@Html.FeeblePulseClassEditorFor(model => model.FeeblePulseClass)</td>
        <td>
        @{if ((byte)Model.FeeblePulseClass == 5)
          { 
              <input id = "FeeblePulseClassOther" name = "FeeblePulseClassOther" type="text" value="@(Model.FeeblePulseClassOther)" />
          }
          else
          {
              <input id = "FeeblePulseClassOther" name = "FeeblePulseClassOther" type="text" style = "display:none;" value="@(Model.FeeblePulseClassOther)" />
          }
          }
        </td>
    </tr>
    <tr>
        <th>实脉类：</th>
        <td>@Html.ExcessPulseClassEditorFor(model => model.ExcessPulseClass)</td>
        <td>
        @{if ((byte)Model.ExcessPulseClass == 5)
          { 
              <input id = "ExcessPulseClassOther" name = "ExcessPulseClassOther" type="text" value="@(Model.ExcessPulseClassOther)" />
          }
          else
          {
              <input id = "ExcessPulseClassOther" name = "ExcessPulseClassOther" type="text" style = "display:none;" value="@(Model.ExcessPulseClassOther)" />
          }
          }
        </td>
    </tr>
</table>